#include "MeshTestNode.h"
#include "GullEngine.h"

using namespace gull::core;
using namespace std;

MeshTestNode::MeshTestNode(const char* name):SceneNode(name, RENDERPASS_STATIC),
m_edge(1.0),
m_a(Vector3D(m_edge, -m_edge, 0.0)),
m_b(Vector3D(0.0, m_edge, 0.0)),
m_c(Vector3D(-m_edge, -m_edge, 0.0))
{
	
}

MeshTestNode::~MeshTestNode()
{
    
}



gullNotification
MeshTestNode::render(Scene* scene)
{	
	theGullGraphicsManager->get3DAPI()->drawTriangle(1.0);
	SceneNode::render(scene);
    return GULL_OK;
}


